package com.java.forum.a_entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
public class Message {
    private Integer mid;
    private Integer from;
    private Integer to;
    private Integer type;
    private String data;
    private Date sendDate;
    @JsonIgnore
    private Integer isRead;
}
